package cn.bdqn.yan.pojo;

import java.util.List;

/**
 * @author ysf
 * @date 2019/8/30 19:53
 * @角色实体类
 */
public class Role {
    private Integer id;
    private String rolecode;
    private String rolename;
    private Integer createby;
    private String creationdate;
    private Integer modifyby;
    private String modifydate;

    List<User> userList;

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRolecode() {
        return rolecode;
    }

    public void setRolecode(String rolecode) {
        this.rolecode = rolecode;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public Integer getCreateby() {
        return createby;
    }

    public void setCreateby(Integer createby) {
        this.createby = createby;
    }

    public String getCreationdate() {
        return creationdate;
    }

    public void setCreationdate(String creationdate) {
        this.creationdate = creationdate;
    }

    public Integer getModifyby() {
        return modifyby;
    }

    public void setModifyby(Integer modifyby) {
        this.modifyby = modifyby;
    }

    public String getModifydate() {
        return modifydate;
    }

    public void setModifydate(String modifydate) {
        this.modifydate = modifydate;
    }

    public Role() {
    }

    public Role(Integer id, String rolecode, String rolename, Integer createby, String creationdate, Integer modifyby, String modifydate) {
        this.id = id;
        this.rolecode = rolecode;
        this.rolename = rolename;
        this.createby = createby;
        this.creationdate = creationdate;
        this.modifyby = modifyby;
        this.modifydate = modifydate;
    }
    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", rolecode='" + rolecode + '\'' +
                ", rolename='" + rolename + '\'' +
                ", createby=" + createby +
                ", creationdate='" + creationdate + '\'' +
                ", modifyby=" + modifyby +
                ", modifydate='" + modifydate + '\'' +
                '}';
    }
}
